package com.firestone;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@SpringBootApplication
@ComponentScan(basePackages = "com.firestone")
@MapperScan(basePackages = "com.firestone.dao")
@ServletComponentScan
@EnableTransactionManagement
@EnableWebMvc
@EnableAsync
public class FireIndustryDmCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(FireIndustryDmCenterApplication.class, args);
    }
}
